const mongoose=require('mongoose')
const goodSchema=new mongoose.Schema({
    status:{type:Number,default:1,required:false},
    name:String,
    desc:String,
    img:String,
    price:Number,
    hot:Boolean,
    rank:Number,
    cate:String,
    create_time:{type:Number,default:Date.now,required:false},  
})
const goodModel=mongoose.model('goods',goodSchema)
module.exports=goodModel
